<div class="row RowSpace" style="margin-bottom:20px;">
  <div class="LableDiv" style="width:50px;"><Btn class="BtnAdd" value="新增" ng-click="btnAdd()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn class="BtnDelete" value="删除" ng-click="btnDelete()"></Btn></div>
  <div class="LableDiv" style="width:60px;"><Btn value="下线" ng-click="btnDownline()"></Btn></div>
</div>

<div class="row RowSpace LastRow">
  <DataGrid module="Module.MO" rowdblclick="rowDblClick()" isedit="false" IsSelect="true">
      <TextBoxColumn DisplayName="单号" width="120px" ValueField="Code"></TextBoxColumn>
      <DropdownListColumn DisplayName="状态" width="60px" ValueField='Status' Enum="MOStatusEnum"></DropdownListColumn>
      <TextBoxColumn DisplayName="料号" width="180px" ValueField="ItemMaster.Code"></TextBoxColumn>
      <TextBoxColumn DisplayName="品名" width="180px" ValueField="ItemMaster.Name"></TextBoxColumn>
      <NumberBoxColumn DisplayName="生产数量" width="70px" ValueField="Qty"></NumberBoxColumn>
      <NumberBoxColumn DisplayName="上线数量" width="70px" ValueField="OnlineQty"></NumberBoxColumn>
      <NumberBoxColumn DisplayName="累计完工量" width="80px" ValueField="TotalCompleteQty"></NumberBoxColumn>
      <TextBoxColumn DisplayName="批号" width="80px" ValueField="LotNumber"></TextBoxColumn>
      <TextBoxColumn DisplayName="客户" width="192px" ValueField="Customer"></TextBoxColumn>
      <CalendarColumn DisplayName="计划开工日期" width="150px" ValueField="StartDateTime"></CalendarColumn>
      <CalendarColumn DisplayName="计划完工日期" width="150px" ValueField="EndDateTime"></CalendarColumn>
      <CalendarColumn DisplayName="实际开工日期" width="150px" ValueField="ActualStartDateTime"></CalendarColumn>
      <CalendarColumn DisplayName="实际完工日期" width="150px" ValueField="ActualEndDateTime"></CalendarColumn>
  </DataGrid>
</div>